#pragma once

#include "numbervalidator.h"

class PhoneNumberValidator :
	public NumberValidator
{
public:
	PhoneNumberValidator(const QString& field);
	~PhoneNumberValidator(void);
	void setOther(const QString& other,int max);
	int validate(QString& input);
	void setThis(int max);
	

protected:
	QString other;
	int otherMax;
	int thisMax;
};
